﻿namespace FinMkts
{
    /// <summary>
    /// The direction of the order: buy or sell (long or short)
    /// </summary>
    public enum OrderDirection
    {
        Buy = 'B',
        Sell = 'S',
        
        Long = Buy,
        Short = Sell,
        
        CustomerLong = Long,
        CustomerShort = Short,

        CounterPartyLong = CustomerShort,
        CounterPartyShort = CustomerLong,
    }
}